package cn.ava.ymcc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "code.graphverifycode")
@Data
@RefreshScope
public class GraphCodeProperties {
    // 验证码图库宽度
    private int width;
    // 验证码图库高度
    private int height;
    //验证码长度
    private int length;
    //过期时间
    private int expire;

}